package org.chw.callback.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @ClassName: WechatAPIConfig
 * @Description: 微信接口
 * @Author: Vincent.Chen
 * @Create: 2018/6/13 10:54
 * @Version: 1.0
 **/
@Configuration
@PropertySource(value = "classpath:wechat-api.properties")
@ConfigurationProperties(prefix = "wechatapi")
public class WechatAPIConfig {
    private String baseUri;
    private String token;

    public String getBaseUri() {
        return baseUri;
    }

    public void setBaseUri(String baseUri) {
        this.baseUri = baseUri;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
